@charset "utf-8";
/*!
 * Created by Toma on 2016-7-9 22:04:36
 * @project SZG
 * @version 1.0.1
 */

// theme
$theme: #ffa726;

@import "toma";

/* common */
ul,li{
  list-style: none;
  margin: 0;
  padding: 0;
}
.bg-theme{
  background: $theme;
}
.text-theme{
  color: $theme;
}

@import "template";


/* 登录页 */
.app-mask{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/bg2.jpg) no-repeat center/cover;
  z-index: -1;
}
.app-login-header{
  padding-top: 60px;
  img{
    width: 120px;
    height: 120px;
  }
  h1{
    font-size: 28px;
    margin: 15px auto 30px;
    color: #fff;
    text-shadow: 0 0 8px rgba(0,0,0,.1);
  }
}
.app-login-con{
  max-width: 500px;
  margin: 0 auto 40px;
}
.app-btn-cir{
  display: block;
  width: 60px;
  height: 60px;
  background-color: #fff;
  border-radius: 50%;
  margin: 40px auto 0;
  text-align: center;
  line-height: 70px;
  padding-left: 2px;
  color: #bbb !important;
}
.app-ewm{
  margin:0 auto 40px;
  text-align: center;
  img{
    width: 200px;
    height: 200px;
  }
}

/* footer */
.app-foot{
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 13px;
  padding: 20px;
  min-height: 160px;
}
.app-footer-about{
  margin-bottom: 20px;
  h3{
    @extend %inb;
    margin: 0;
    margin-right: 20px;
  }
}
.app-ewm-down{
  @extend %inb;
  img{
    width: 72px;
    height: 72px;
    margin-right: 10px;
  }
}
.app-btn-grop{
  @extend %inb;
}

/* 圈圈 */
.app-circle{
  @extend %inb;
  width: 40px;
  height: 40px;
  line-height: 38px;
  border-radius: 50%;
  border: 1px solid #ddd;
  margin-top: -10px;
  text-align: center;
  color: #bbb !important;
}
.app-circle-lg{
  @extend .app-circle;
  width: 72px;
  height: 72px;
  line-height: 70px;
  margin-top:0;
  color: #333 !important;
}
.app-circle-sm{
  @extend .app-circle;
  width: 55px;
  height: 55px;
  line-height: 53px;
  margin-top:0;
  font-size: 13px;
  color: #333 !important;
}

/* 注册页面 */
.app-reg-head{
  padding-top: 45px;
  margin-bottom: 30px;
}
.app-reg-con{
  margin-bottom: 300px;
}
.app-reg-hi{
  position: relative;
  &::before{
    content: '';
    position: absolute;
    top: 28px;
    left: 0;
    width: 100%;
    border-top:1px solid #ddd;
  }
  &:first-child::before{
    width: 50%;
    left: 50%;
  }
  &:last-child::before{
    width: 50%;
    right: 50%;
  }
  i{
    position: relative;
    color: #bbb;
    z-index: 2;
    background: #fff;
  }
  h3{
    margin: 5px auto 10px;
    font-size: 20px;
  }
}

/* 表单 */
.app-radio{
  margin-top: 5px!important;
  .radio,
  .checkbox{
    min-height: 0;
    padding-top: 0;
    vertical-align: text-bottom;
  }
}
.app-row-sub{
  text-align: center;
}

.app-form{
  .form-group{
    margin-bottom: 22px;
  }
}

/* 公司简介 */
.app-com-info{
  padding-top: 70px;
  .panel-heading{
    font-size: 20px;
  }
  .panel-body p{
    font-size: 16px;
    line-height: 1.6;
    text-indent: 32px;
  }
}

/*　忘记密码　*/
.app-fp-it{
  p{
    font-size: 16px;
  }
  &.active{
    .app-point-s{
      background-color: $theme;
    }
    .app-c-line{
      border-top: 4px solid $theme;
    }
    p{
      color: $theme;
    }
  }
}
.app-point-s{
  position: relative;
  width: 20px;
  height: 20px;
  background: #ddd;
  border-radius: 50%;
  margin: 10px auto;
  z-index: 2;
}
.app-c-line{
  position: absolute;
  top: 18px;
  left: 0;
  display: inline-block;
  content: '';
  width: 100%;
  border-top: 4px solid #ddd;
  &.first{
    left: 50%;
    width: 50%;
  }
  &.last{
    right: 50%;
    width: 50%;
  }
}

/* 产品管理 */
.app-product-title{
  font-size: 18px;
  line-height: 1.4;
}

/* 添加产品基本信息 */
.app-additem{
  margin-left: 120px;
  margin-top: 5px;
  span{
    line-height: 40px;
    text-decoration: none;
    padding: 6px 12px;
    background: rgba(0,0,0,.8);
    color: #fff;
    border-radius: 4px;
    margin-right: 5px;
    cursor: pointer;
    i{
      margin-left: 5px;
    }
  }
}

/* 上传图片组件 start*/
.app-product-imgup{
  position: relative;
  display: block;
  width: 100%;
  height: 196px;
  //line-height: 196px;
  background: #DDD;
  text-align: center;
  font-size: 36px;
  color: #b3b3b3 !important;
  text-decoration: none !important;
}
.imgup-btn{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}
.upload_choose{
  display: block;
  padding:1em;
  font-weight: inherit;
  cursor: pointer;
  input{
    opacity: 0;
  }
}
.upload_drag_area{
  display:inline-block;
  width:100%;
  padding:4em 0;
  border:1px dashed #ddd;
  background:#fff;
  color:#999;
  text-align:center;
  vertical-align:middle;
}
.upload_drag_hover{
  border-color:#069;
  box-shadow:inset 2px 2px 4px rgba(0, 0, 0, .5);
  color:#333;
}
.upload_preview{
  overflow:hidden;
  _zoom:1;
}
.upload_append_list{
  padding:0 1em;
  float:left;
  position:relative;
}
.upload_delete{margin-left:2em;}
.upload_image{max-height:250px; padding:5px;}
.upload_submit{padding-top:1em; padding-left:1em;}
.upload_submit_btn{display:none;}
.upload_progress{
  display:none;
  padding:5px;
  border-radius:10px;
  color:#fff;
  background-color:rgba(0,0,0,.6);
  position:absolute;
  left:25px;
  top:45px;
}

.swiper-container {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  text-align: center;

  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.swiper-close{
  position: absolute;
  top: 0;
  right: 0;
  color: #fff;
  cursor: pointer;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 26px;
}
.swiper-pagination-bullet-active{
  background:#ddd !important;
}
/* 上传图片组件 end*/


/* 新增产品行程 */
.app-stroke{
  display: table;
  width: 100%;
  margin-bottom: 20px;
  .app-srk-lt{
    position: relative;
    display: table-cell;
    width: 70px;
    padding-right: 15px;
    .app-circle-sm{
      position: relative;
      z-index: 2;
      background: #fff;
    }

    &::before{
      content: '';
      display: block;
      position: absolute;
      top: 0;
      left: 27px;
      height: 100%;
      border-left:1px solid #ddd;
    }
    &::after{
      content: '';
      display: block;
      position: absolute;
      top: 100%;
      left: 27px;
      height: 20px;
      border-left:1px solid #ddd;
    }
  }
  .app-srk-con{
    display: table-cell;
    border: 1px solid #ddd;
    background: #F5F5F5;
    .app-circle{
      margin: 0 5px 0 0;
      background: #fff;
      text-decoration: none;
    }
  }
  .app-srk-rt{
    display: table-cell;
    width: 44px;
    padding-left: 15px;
  }
  .app-srk-imgup{
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    height: 133px;
    background: #ddd;
  }
  &:first-child{
    .app-srk-lt{
      &::before{
        top: 15%;
        height: 85%;
      }
    }
  }
  &:last-child{
    .app-srk-lt{
      &::before{
        top: 0;
        height: 15%;
      }
      &::after{
        height: 0;
      }
    }
  }
}
.str-check{
  cursor: pointer;
  input[type="checkbox"]{
    position: absolute;
    opacity: 0;
  }
  input[type="checkbox"]:checked + span{
    background: #c3c5d8;
    color: #fff !important;
    border-color: transparent;
  }
}
.imageup-item{
  text-align: center;
  line-height: 133px;
  font-size: 26px;
  text-decoration: none !important;
  color: #bbb !important;
}



/* datalist */
.datalist{
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 200px;
  overflow-y: scroll;
  z-index: 2000;
  background: #fff;
  border-radius: 3px;
  border: 1px solid #ddd;
  box-shadow: 0 3px 8px rgba(0,0,0,.1);
  ul>li{
    padding: 8px;
    cursor: pointer;
    &:hover{
      background: #F5F5F5;
    }
  }
}

/* 错误提示 */
.err{
  border-color: #e74b31 !important;
}
.ts{
  position: absolute;
  top: 42px;
  left: 0;
  font-size: 12px;
  line-height: 1.8;
  color: #e74b31;
}

/* 地图查询框 */
.maplist{
  display: none;
  position: absolute;
  width:330px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #f5f5f5;
  z-index: 99;
  .tab-content{
    min-height: 200px;
    border-top: 0;
    background: #fff;
  }
  .ml-header a,
  .ml-body a{
    padding: 5px;
    float: left;
  }
}

/* 库存 */
.app-inventory-nav{
  text-align: center;
  li{
    display: inline-block;
    vertical-align: middle;
    >a{
      padding: 6px 18px;
      font-size: 18px;
    }
    &.active > a{
      color: $theme;
    }
    &:first-child a,
    &:last-child a{
      color: #777 !important;
      text-decoration: none !important;
    }
    span{
      color: #777;
    }
  }
}
.invent-table{
  th{
    vertical-align: middle !important;
  }
  th,td{
    width: (100%/8);
    text-align: center;
    padding: 10px !important;
  }
}
.badge-btn{
  font-weight: inherit;
  margin-bottom:0;
  span{
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 200px;
    font-size: 12px;
    padding: 2px 6px;
    cursor: pointer;
    text-decoration: none !important;
  }
  input[type="checkbox"]{
    position: absolute;
    opacity: 0;
  }
  input[type="checkbox"]:checked + span{
    background: $theme;
    color: #fff !important;
    border-color: transparent;
  }
}






/* zz */
@include biyao;